<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统设置 - LabEnergyInsight</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body class="bg-gray-50">
    <!-- Header -->
    <div class="bg-white p-4 shadow-sm">
        <div class="flex justify-between items-center">
            <h1 class="text-xl font-semibold">系统设置</h1>
            <div class="flex items-center space-x-2">
                <button class="p-2">
                    <i class="fas fa-ellipsis-v text-gray-500"></i>
                </button>
            </div>
        </div>
    </div>

    <!-- Main Content -->
    <div class="p-4 space-y-4">
        <!-- Data Integration -->
        <div class="bg-white rounded-xl p-4 shadow-sm">
            <div class="flex justify-between items-center mb-4">
                <h2 class="font-semibold">数据对接配置</h2>
                <button class="text-sm text-blue-500">
                    <i class="fas fa-plus mr-1"></i> 添加数据源
                </button>
            </div>
            <div class="space-y-3">
                <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
                    <div class="flex items-center space-x-3">
                        <div class="bg-blue-50 p-2 rounded-lg">
                            <i class="fas fa-database text-blue-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">MES系统</p>
                            <p class="text-xs text-gray-500">最后同步: 2024-03-15 15:30</p>
                        </div>
                    </div>
                    <div class="flex items-center space-x-2">
                        <span class="text-xs px-2 py-1 bg-green-100 text-green-500 rounded">已连接</span>
                        <i class="fas fa-chevron-right text-gray-400"></i>
                    </div>
                </div>
                <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
                    <div class="flex items-center space-x-3">
                        <div class="bg-blue-50 p-2 rounded-lg">
                            <i class="fas fa-plug text-blue-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">IoT平台</p>
                            <p class="text-xs text-gray-500">最后同步: 2024-03-15 15:29</p>
                        </div>
                    </div>
                    <div class="flex items-center space-x-2">
                        <span class="text-xs px-2 py-1 bg-green-100 text-green-500 rounded">已连接</span>
                        <i class="fas fa-chevron-right text-gray-400"></i>
                    </div>
                </div>
            </div>
        </div>

        <!-- System Settings -->
        <div class="bg-white rounded-xl p-4 shadow-sm">
            <h2 class="font-semibold mb-4">系统设置</h2>
            <div class="space-y-3">
                <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
                    <div class="flex items-center space-x-3">
                        <div class="bg-purple-50 p-2 rounded-lg">
                            <i class="fas fa-bell text-purple-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">通知设置</p>
                            <p class="text-xs text-gray-500">配置预警通知方式</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
                    <div class="flex items-center space-x-3">
                        <div class="bg-green-50 p-2 rounded-lg">
                            <i class="fas fa-user-shield text-green-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">权限管理</p>
                            <p class="text-xs text-gray-500">用户角色与权限配置</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
                    <div class="flex items-center space-x-3">
                        <div class="bg-blue-50 p-2 rounded-lg">
                            <i class="fas fa-chart-line text-blue-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">报表配置</p>
                            <p class="text-xs text-gray-500">自定义报表模板</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
        </div>

        <!-- AI Model Settings -->
        <div class="bg-white rounded-xl p-4 shadow-sm">
            <h2 class="font-semibold mb-4">AI模型设置</h2>
            <div class="space-y-3">
                <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
                    <div class="flex items-center space-x-3">
                        <div class="bg-orange-50 p-2 rounded-lg">
                            <i class="fas fa-brain text-orange-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">模型训练</p>
                            <p class="text-xs text-gray-500">配置训练参数与周期</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
                    <div class="flex items-center space-x-3">
                        <div class="bg-red-50 p-2 rounded-lg">
                            <i class="fas fa-exclamation-triangle text-red-500"></i>
                        </div>
                        <div>
                            <p class="font-medium">异常检测</p>
                            <p class="text-xs text-gray-500">配置检测阈值与规则</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
        </div>

        <!-- System Info -->
        <div class="bg-white rounded-xl p-4 shadow-sm">
            <h2 class="font-semibold mb-4">系统信息</h2>
            <div class="space-y-2 text-sm">
                <div class="flex justify-between">
                    <span class="text-gray-500">版本号</span>
                    <span>v1.0.0</span>
                </div>
                <div class="flex justify-between">
                    <span class="text-gray-500">最后更新</span>
                    <span>2024-03-15</span>
                </div>
                <div class="flex justify-between">
                    <span class="text-gray-500">数据库状态</span>
                    <span class="text-green-500">正常</span>
                </div>
                <div class="flex justify-between">
                    <span class="text-gray-500">系统状态</span>
                    <span class="text-green-500">运行中</span>
                </div>
            </div>
        </div>

        <!-- Logout Button -->
        <button class="w-full bg-red-500 text-white py-3 rounded-lg text-sm">
            退出登录
        </button>
    </div>
</body>
</html> 